package com.bigcat.gulimall.demo.mongo.service;

import com.bigcat.gulimall.demo.mongo.entity.RoadNail;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface RoadNailRepository extends MongoRepository<RoadNail,String> {

	 RoadNail findByNailMac(String nailMac);

	 List<RoadNail> findByCityCode(String cityCode);
}